# coding=utf-8
"""
    启动文件
    app 的创建在 create_app() 中定义好
"""
from app import create_app

# @Time    :  2024-08-07 14:49:55
# @Author  :  jiangtong
# @Email   :  gingerqgyy@outlook.com
# @Project :  demo_flask_new
# @File    :  run

app = create_app()


def run(port=5555):
    app.run(host='0.0.0.0', port=port, debug=False, threaded=False)


if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5555, debug=True)
